<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />	
<style>
	.page-content {
    float: left;
	width: 100%;
}
</style>
<div id="operations">
	<div class="single-head">
		<h3 class="pull-left"><i class="fa fa-desktop purple"></i> <?php echo Rights::t('core', 'Create :type', array(
			':type'=>Rights::getAuthItemTypeName($_GET['type']),
		)); ?></h3>
		<div class="breads pull-right">
			<strong>Nav</strong> : <a href="<?php echo Yii::app()->createUrl('User'); ?>">Home</a>  / Rigths / <?php echo Rights::t('core', 'Create :type', array(
				':type'=>Rights::getAuthItemTypeName($_GET['type']),
			)); ?>
		</div>
		<div class="clearfix"></div>
	</div>
<div class="createAuthItem">
	<?php 
		$this->beginWidget('zii.widgets.CPortlet', array(
			'htmlOptions'=>array(
				'class'=>''
			)
		));
		$this->widget('bootstrap.widgets.TbMenu', array(
			'type'=>'pills',
			'items'=>array(
				array('label'=>'Assignments', 'url'=>Yii::app()->controller->createUrl('assignment/view'), 'linkOptions'=>array()),
				array('label'=>'Permissions', 'url'=>Yii::app()->controller->createUrl('authItem/permissions'), 'linkOptions'=>array()),
				array('label'=>'Roles', 'url'=>Yii::app()->controller->createUrl('authItem/roles'),  'linkOptions'=>array()),
				array('label'=>'Tasks', 'url'=>Yii::app()->controller->createUrl('authItem/tasks'), 'active'=>true,'linkOptions'=>array()),
				array('label'=>'Operations', 'url'=>Yii::app()->controller->createUrl('authItem/operations'), 'linkOptions'=>array()),
			),
		));
		$this->endWidget();
	?>
	<?php $this->renderPartial('_form', array('model'=>$formModel)); ?>

</div>